<!--#
   var images = core.file(attachmentId);
   if (images.~size == 0) {
-->
<img src="${tpl}/image/lanmu_img.png">
<!--#} else { -->
<img src="/core/file/inline/${images[0].id }/${images[0].name }">
<!--#} -->